package com.feign.config.enums;

import lombok.AllArgsConstructor;

/**
 * TODO
 *
 * @Description
 * @Author ZW
 * @Date 2022/12/29 21:00
 **/
@AllArgsConstructor
public enum QueueNameEnum {
     //队列名
     /**
      * 判题队列
      */
     JUDGE_QUEUE("judgeQueue"),
     /**
      * QA队列
      */
     QA_QUEUE("qaQueue"),
     /**
      * 演示队列 -- 处理预过期的消息
      */
     EXPIRATION_TIME_QUEUE("expirationTimeQueue"),
     /**
      * 执行过期消息推送的队列
      */
     ESTIMATE_EXPIRATION_TIME_QUEUE("estimateExpirationTimeQueue"),
     /**
      * judge -> question
      */
     JUDGE_2_QUESTION_QUEUE("judge2QuestionQueue");

      final String name;

     public String getName() {
          return name;
     }
}
